public class TestMyQueue {
    public static void main(String[] args) {
        MyQueue myQueue=new MyQueue();
        myQueue.offer(12);
        myQueue.offer(22);
        myQueue.offer(32);
        myQueue.offer(42);
        myQueue.offer(52);
        myQueue.poll();
        System.out.println(myQueue.peek());
    }
}
